package at.socialconference.backend.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "t_relations")
public class Relation implements Insertable {

	@Id
	@Column(name = "userid_a")
	private Integer userid_a;

	@Column(name = "userid_b")
	private Integer userid_b;

	@Column(name = "accepted")
	private Integer isAccepted;

	public Integer getUserid_a() {
		return userid_a;
	}

	public void setUserid_a(Integer userid_a) {
		this.userid_a = userid_a;
	}

	public Integer getUserid_b() {
		return userid_b;
	}

	public void setUserid_b(Integer userid_b) {
		this.userid_b = userid_b;
	}

	public Integer getIsAccepted() {
		return isAccepted;
	}

	public void setIsAccepted(Integer isAccepted) {
		this.isAccepted = isAccepted;
	}

}
